package com.ruoyi.financial.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 赔付规则对象 f_odds_rule
 * 
 * @author ruoyi
 * @date 2025-02-10
 */
public class FOddsRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 玩法类型 */
    @Excel(name = "玩法类型")
    private String type;

    /** 赔率 */
    @Excel(name = "赔率")
    private BigDecimal odds;

    /** 退水 */
    @Excel(name = "退水")
    private BigDecimal waterRate;

    /** 庄家ID */
    @Excel(name = "庄家ID")
    private Long bankerId;

    /** 逻辑删除 */
    private String delFlag;

    /** 客户类型 */
    @Excel(name = "客户类型")
    private Integer custType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setOdds(BigDecimal odds) 
    {
        this.odds = odds;
    }

    public BigDecimal getOdds() 
    {
        return odds;
    }
    public void setWaterRate(BigDecimal waterRate) 
    {
        this.waterRate = waterRate;
    }

    public BigDecimal getWaterRate() 
    {
        return waterRate;
    }
    public void setBankerId(Long bankerId) 
    {
        this.bankerId = bankerId;
    }

    public Long getBankerId() 
    {
        return bankerId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCustType(Integer custType) 
    {
        this.custType = custType;
    }

    public Integer getCustType() 
    {
        return custType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("odds", getOdds())
            .append("waterRate", getWaterRate())
            .append("bankerId", getBankerId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("custType", getCustType())
            .toString();
    }
}
